package com.jim.director.test;

import com.jim.director.framework.annotation.*;

import java.util.List;

@Log(target = "frog2.log", period = 10, format = LogFormat.JSON)
@Actor(size = 10, order = 1)
public class Frog {

    @ActorAutowired
    private List<Frog> frogs;

    @ActorAutowired
    private Kid kid;

    @Init
    public void init() {
        System.out.println("frog init:"+frogs.toString());
        System.out.println("frog init:"+kid.toString());
    }
}
